<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>列表</title>
    <style>
        nav {
            width: 300px;
        }
        .type {
            text-indent: 1em;
            line-height: 36px;
            font-weight: bold;
            background: hotpink;
        }

        ul {
            background: pink;
        }

        ul li {
            line-height: 30px;
            list-style: none;
        }

        a {
            font-size: 16px;
            color: #333333;
            text-decoration: none;
        }

        a:hover {
            color: orangered;
            text-decoration: underline;
        }
    </style>
</head>
<body>

<nav>
    <h3 class="type">分类列表</h3>
    <ul>
        <li><a href="#">Coffee</a> / <a href="#">black hot drink</a></li>
        <li><a href="#">Milk</a> / <a href="#">white cold drink</a></li>
        <li><a href="#">Coffee</a> / <a href="#">black hot drink</a></li>
        <li><a href="#">Milk</a> / <a href="#">white cold drink</a></li>
    </ul>
</nav>

</body>
</html>